Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset Remote on Assert commands #145

Merged

Conversation

msandt3
Copy link
Contributor

@msandt3 msandt3 commented Dec 1, 2019

This is a logical extension of #95 . We use a dedicated API user, so missing out on tests in the head of the branch is something we'd like to rectify. There is some risk of bricking your Looker user's branch if that's how you choose to use Spectacles.

My first PR in python - feedback appreciated.

Ensure that we get a true value for the argument when passed in as a flag to the `assert` command
- Assert subparser now accepts `reset-remote` as a valid argument
- Pass `remote-reset` arg to the runner before validating data tests
Keeping things styled nicely
@codecov
Copy link

codecov bot commented Dec 1, 2019

Codecov Report

Merging #145 into master will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #145      +/-   ##
=========================================
+ Coverage   63.75%   63.8%   +0.04%     
=========================================
  Files           9       9              
  Lines         756     757       +1     
=========================================
+ Hits          482     483       +1     
  Misses        274     274
Impacted Files Coverage Δ
spectacles/cli.py 77.11% <100%> (+0.19%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f237efb...96810c6. Read the comment docs.

Copy link
Collaborator

@joshtemple joshtemple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thanks @msandt3 and congrats on your first Python PR! Will wait for Dylan's review but expecting we'll be merging this today.

@DylanBaker DylanBaker merged commit da2bc70 into spectacles-ci:master Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants